package com.xdl.flytest.dao;

import com.xdl.flytest.bean.Task;

import java.util.List;

public interface TaskMapper {
    int deleteByPrimaryKey(Integer taskId);

    int insert(Task record);

    int insertSelective(Task record);

    Task selectByPrimaryKey(Integer taskId);

    int updateByPrimaryKeySelective(Task record);

    int updateByPrimaryKey(Task record);

    List<Task> selectTasks();

    Task selectByTaskNameAndJobGroup(String taskName, Integer runWith);

}